﻿using System.Threading.Tasks;
using dreamwork.mobile.app.api.Models.Data;
using dreamwork.mobile.app.api.Models.ViewModel;
using DereamWork.Model.ViewModel;
using MongoDB.Bson;

namespace dreamwork.mobile.app.api.Services
{
    public interface INormalUserService
    {
        Task<UserLoginResult> LoginAsync(NormalUser normalUser);
        Task<UserLogoutResult> LogoutAsync();
        Task<ServiceResult<NormalUser>> GetByIdAsync(string id);
        Task<ServiceResult<NormalUser>> ModifyAsync(NormalUser normalUser);
    }
}